package com.xing.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class UserController {
    @RequestMapping("/toUser")
    @ResponseBody
    public  String toUser(){
        return  "我调到用户页面了";
    }


    @RequestMapping("/aaaaaaa")
    @ResponseBody
    public  void addUser(){
        System.out.println("新增用户");
      }

      

}
